package com.common.util;


public class Response {

    //状态
    private int status;
    //提示
    private String tip;
    //结果集
    private Object result;

    public Response() {
    }

    public Response(int status, Object result) {
        this.status = status;
        this.result = result;
    }

    public Response(int status, String tip, Object result) {
        this.status = status;
        this.tip = tip;
        this.result = result;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getTip() {
        return tip;
    }

    public void setTip(String tip) {
        this.tip = tip;
    }

    public Object getResult() {
        return result;
    }

    public void setResult(Object result) {
        this.result = result;
    }
}
